// 引入Vue
import Vue from 'vue'
//引入Vuex
import Vuex from 'vuex'

import user from './modules/user';


//应用插件
Vue.use(Vuex)

const actions = {}
const mutations = {} 
const state = {}
const getters = {}

//创建并暴露一个仓库
export default new Vuex.Store({
	actions,
	mutations,
	state,
	getters,
	modules:{
		user
	}
})

